package financial.sharing.center.system.service;

import com.github.pagehelper.PageInfo;
import financial.sharing.center.system.model.entity.TaxRate;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

/**
 * @ClassName TaxRateService
 * @Description TODO
 * @Author guoyuhang
 * @ @csdn https://blog.csdn.net/qq_40788718
 * @Date 2021/4/18
 * @Version 1.0
 */
public interface TaxRateService {
    PageInfo<TaxRate> getAllTexRate(String selectTaxRegion, String selectTaxType);

    Integer createOneTaxRate(String taxRegion, String taxType, BigDecimal rate);

    Integer compileOneTaxRate(TaxRate taxRate);

    Integer deleteOneTaxRate(Integer id);

    Map<Integer, BigDecimal> getTaxRateMap();

    List<TaxRate> getListTaxRate();
}
